.modal-header(data-phase=phase)
  button.close(data-dismiss='modal') &times;
  h3 Endre #{NAMES[phase]}...
.modal-body
  .row-fluid
    .span2
      h6 Tittel
    .span10
      input#project-title(data-property='title', type='text', style='width:420px;', value=title)
  .row-fluid
    .span2
      h6 Beskrivelse
    .span10
      textarea#project-desc(data-property='desc', type='text', style='width:420px;height:120px')= desc
  .row-fluid
    .span2
      h6 Av
    .span10= creator.name
if canEdit
  .modal-footer
    a.btn.btn-large.cancel-button(href='#', title='Lukk vinduet <em>uten å lagre</em> endringer', data-dismiss='modal') Avbryt
    a.btn.btn-large.btn-primary.save-button(href='#', title='Lukk vindu og <em>lagre endringer</em>') Lagre endringer
    a.btn.btn-large.btn-danger.delete-button.pull-left(href='#', title='<em>Slett</em> denne idéen') Slett
    .btn-group.pull-left(style='margin-left: 4px')
      a.btn.btn-large.btn-success.next-button(href='#', title='Oppgrader denne idéen', data-phase='proposal') 
        | Tilbud
        i.icon-chevron-right.icon-white(style='margin-left:6px')
      a.btn.btn-large.btn-success.next-button(href='#', title='Oppgrader denne idéen', data-phase='task') 
        | Oppdrag
        i.icon-chevron-right.icon-white(style='margin-left:6px')